package com.swt.agy.backend.model.entity;

public class SysRelation {
    private Integer id;

    private Integer startOntologyId;

    private Integer endOntologyId;

    private String relationName;

    private String relationSynonym;

    private String relationDirection;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStartOntologyId() {
        return startOntologyId;
    }

    public void setStartOntologyId(Integer startOntologyId) {
        this.startOntologyId = startOntologyId;
    }

    public Integer getEndOntologyId() {
        return endOntologyId;
    }

    public void setEndOntologyId(Integer endOntologyId) {
        this.endOntologyId = endOntologyId;
    }

    public String getRelationName() {
        return relationName;
    }

    public void setRelationName(String relationName) {
        this.relationName = relationName == null ? null : relationName.trim();
    }

    public String getRelationSynonym() {
        return relationSynonym;
    }

    public void setRelationSynonym(String relationSynonym) {
        this.relationSynonym = relationSynonym == null ? null : relationSynonym.trim();
    }

    public String getRelationDirection() {
        return relationDirection;
    }

    public void setRelationDirection(String relationDirection) {
        this.relationDirection = relationDirection == null ? null : relationDirection.trim();
    }
}